<template>
  <transition name="slide">
    <div class="test">{{this.$store.state.hotListId}}</div>
  </transition>
</template>

<script>
export default {
  name: 'test'
}
</script>

<style lang="less" scoped>
  .test{
    position: fixed;
    z-index: 100;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: #eeeeee
  }
  .slide-enter-active, .slide-leave-active{
    transition: all 0.3s
  }
  .slide-enter, .slide-leave-to{
    transform: translate3d(100%, 0, 0)
  }
</style>
